<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="layui-form timo-compile">
    <form th:action="@{/agent/store/editStoreStar}">
        <input type="hidden" name="id" th:if="${baseinfo}" th:value="${baseinfo.id}">
        <!-- <div class="layui-form-item">
            <label class="layui-form-label">商家名称</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="store_name" placeholder="请输入商家名称" th:value="${baseinfo?.store_name}">
            </div>
        </div> -->
        <table class="layui-table">
            <colgroup>
                <col width="100px"><col>
                <col width="100px"><col>
            </colgroup>
            <tbody>
            <tr>
                <th>阅读数</th>
                <td>
                    <input type="text" class="layui-input" name="readnum" id="readnum" th:value="${baseinfo.readnum}">
                </td>
            </tr>
            </tbody>
        </table>
        <div class="layui-form-item">
    <label class="layui-form-label">星级</label>
    <div class="layui-input-block">
        <input type="radio" name="storeStar" value="1" title="1星" th:checked="${baseinfo.store_star==1}">
        <input type="radio" name="storeStar" value="2" title="2星" th:checked="${baseinfo.store_star==2}">
        <input type="radio" name="storeStar" value="3" title="3星" th:checked="${baseinfo.store_star==3}">
        <input type="radio" name="storeStar" value="4" title="4星" th:checked="${baseinfo.store_star==4}">
        <input type="radio" name="storeStar" value="5" title="5星" th:checked="${baseinfo.store_star==5}">
    </div>
</div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/agenttemplate :: agentscript"></script>

</body>
</html>